package com.lg.utils.hutool.convert;

import cn.hutool.core.convert.Convert;

public class ConvertTest {
    public static void main(String[] args) {
        int a = 1;
        //aStr为"1"
        String aStr = Convert.toStr(a);
        Long aLong = Convert.toLong(a);
        Short aShort = Convert.toShort(aLong);
        Double aDouble = Convert.toDouble(aShort);



        String[] b = { "1", "2", "3", "4" };
        //结果为Integer数组
        Integer[] intArray = Convert.toIntArray(b);

        double aa = 67556.32;

        //结果为："陆万柒仟伍佰伍拾陆元叁角贰分"
        String digitUppercase = Convert.digitToChinese(aa);
    }
}
